package com.example.common.provider3.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author wangjinlong
 * @date 2022/2/11 10:03
 */
public class CommonBackHandler {

    public static String handleBlockException( BlockException e){
        return "限流或降级熔断";
    }

    public static String handleAllException(Throwable e){
        return "其他异常熔断";
    }

}
